public class Names
{
   /**
      Gets the initials of a name.
      @param first the first name of this name
      @param middle the middle name of this name
      @param last the last name of this name
      @return a string consisting of the first character of the first, middle,
      and last name
   */
   public String initials(String first, String middle, String last)
   {
      char a=first.charAt(0);
      char b=middle.charAt(0);
      char c=last.charAt(0);
      String abc="";
      abc=abc+a+b+c;
      return abc;
   }
}